package com.netease.nie.dao;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.netease.nie.mapper.CategoryMapper;
import com.netease.nie.model.Category;

@Repository
public class CategoryDao {

	@Resource
	private CategoryMapper categoryMapper;
	
	public List<Category> listAllCategory() {
		return categoryMapper.listAllCategory();
	}
	
}
